function submit1(){
	
	oldpassword = $("#oldpassword").val();
	password = $("#password").val();
	repassword = $("#repassword").val();
	
	if(password != repassword){
		swal("错误", "新密码两次输入不一样!", "error");
		return;
	}
	
	if(oldpassword == password){
		swal("错误", "新旧密码不能相同!", "error");
		return;
	}
	
	
	console.log("submit");
	$.ajax({
		url: "/rsetpassword",
		type: "POST",
		data: $("#changefrom").serialize(),
		success:function(data){
			console.log(data);
			if(data.state == 2000){
				swal("成功", "密码修改成功!", "success");
				window.location="/logout"
			}else{
				swal("失败",data.message, "error");
			}
			
		},
		error:function(){
			swal("失败","系统错误，请重试", "warning");
		}
	});
}